[#BloombergLP-bslfmt-FormatterTestUtil-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatterTestUtil-00.adoc[FormatterTestUtil]<wchar_t> :relfileprefix: ../../ :mrdocs: This is a specialization of `FormatterTestUtil` template for `wchar_t`. == Synopsis Declared in `<bslfmt_formattertestutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct xref:BloombergLP/bslfmt/FormatterTestUtil-00.adoc[FormatterTestUtil]<wchar_t>; ---- == 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::formatter` specialization for the (template parameter) `t_TYPE`. If the specified `alsoTestOracle` is `true`, also compare the `expectedResult` with the result of formatting obtained using a standard library implementation. Optionally specify `arg`, `arg1` and `arg2` to be passed to the formatter as additional arguments. Return `true` if these strings are equal, otherwise store a description of the error in the specified output `message` and return `false`. Note that `fmt` is required to be a constant expression, known at compile time. | 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::formatter` specialization for the (template parameter) `t_TYPE`. If the specified `alsoTestOracle` is `true`, also compare the `expectedResult` with the result of formatting obtained using a standard library implementation. Optionally specify `arg`, `arg1` and `arg2` to be passed to the formatter as additional arguments. Return `true` if these strings are equal, otherwise store a description of the error in the specified output `message` and return `false`. Note that `fmt` can be determined at runtime. | 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::formatter` specialization for the (template parameter) `t_TYPE`. If the specified `alsoTestOracle` is `true`, also parse `fmt` using a standard library implementation. Return `true` if `fmt` is valid and the exception _IS_ thrown during the parsing, and return `false` otherwise. | 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::formatter` specialization for the (template parameter) `t_TYPE`. If the specified `alsoTestOracle` is `true`, also parse the `fmt` using a standard library implementation. Return `true` if the `fmt` is valid and the exception is _NOT_ thrown during the parsing, and return `false` otherwise. Note that the `fmt` is required to be a compile time constant expression. | 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::formatter` specialization for the (template parameter) `t_TYPE`. If the specified `alsoTestOracle` is `true`, also parse `fmt` using a standard library implementation. Return `true` if `fmt` is valid and the exception is _NOT_ thrown during the parsing, and return `false` otherwise. Note that `fmt` is *NOT* required to be a compile time constant expression. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#