[#BloombergLP-bslfmt-FormatterTestUtil-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatterTestUtil-00.adoc[FormatterTestUtil]&lt;wchar&lowbar;t&gt;
:relfileprefix: ../../
:mrdocs:

This is a specialization of `FormatterTestUtil` template for `wchar&lowbar;t`&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;formattertestutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
struct xref:BloombergLP/bslfmt/FormatterTestUtil-00.adoc[FormatterTestUtil]&lt;wchar&lowbar;t&gt;;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/FormatterTestUtil-06/testEvaluateFormat-02.adoc[`testEvaluateFormat`] 
| Compare the specified `expectedResult` with the result of formatting the specified `value` with the specified `fmt` obtained using a `bslfmt&colon;&colon;formatter` specialization for the (template parameter) `t&lowbar;TYPE`&period; If the specified `alsoTestOracle` is `true`, also compare the `expectedResult` with the result of formatting obtained using a standard library implementation&period; Optionally specify `arg`, `arg1` and `arg2` to be passed to the formatter as additional arguments&period; Return `true` if these strings are equal, otherwise store a description of the error in the specified output `message` and return `false`&period; Note that `fmt` is required to be a constant expression, known at compile time&period;
| xref:BloombergLP/bslfmt/FormatterTestUtil-06/testEvaluateVFormat-0d.adoc[`testEvaluateVFormat`] 
| Compare the specified `expectedResult` with the result of formatting the specified `value` with the specified `fmt` obtained using a `bslfmt&colon;&colon;formatter` specialization for the (template parameter) `t&lowbar;TYPE`&period; If the specified `alsoTestOracle` is `true`, also compare the `expectedResult` with the result of formatting obtained using a standard library implementation&period; Optionally specify `arg`, `arg1` and `arg2` to be passed to the formatter as additional arguments&period; Return `true` if these strings are equal, otherwise store a description of the error in the specified output `message` and return `false`&period; Note that `fmt` can be determined at runtime&period;
| xref:BloombergLP/bslfmt/FormatterTestUtil-06/testParseFailure.adoc[`testParseFailure`] 
| Verify that the specified `fmt` has a valid structure and, if so, parse it using a `bslfmt&colon;&colon;formatter` specialization for the (template parameter) `t&lowbar;TYPE`&period; If the specified `alsoTestOracle` is `true`, also parse `fmt` using a standard library implementation&period; Return `true` if `fmt` is valid and the exception _IS_ thrown during the parsing, and return `false` otherwise&period;
| xref:BloombergLP/bslfmt/FormatterTestUtil-06/testParseFormat.adoc[`testParseFormat`] 
| Verify that the specified `fmt` has a valid structure and, if so, parse it using a `bslfmt&colon;&colon;formatter` specialization for the (template parameter) `t&lowbar;TYPE`&period; If the specified `alsoTestOracle` is `true`, also parse the `fmt` using a standard library implementation&period; Return `true` if the `fmt` is valid and the exception is _NOT_ thrown during the parsing, and return `false` otherwise&period; Note that the `fmt` is required to be a compile time constant expression&period;
| xref:BloombergLP/bslfmt/FormatterTestUtil-06/testParseVFormat.adoc[`testParseVFormat`] 
| Verify that the specified `fmt` has a valid structure and, if so, parse it using a `bslfmt&colon;&colon;formatter` specialization for the (template parameter) `t&lowbar;TYPE`&period; If the specified `alsoTestOracle` is `true`, also parse `fmt` using a standard library implementation&period; Return `true` if `fmt` is valid and the exception is _NOT_ thrown during the parsing, and return `false` otherwise&period; Note that `fmt` is *NOT* required to be a compile time constant expression&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
