This is a specialization of FormatterTestUtil template for wchar_t.
| Name | Description |
|---|---|
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. |
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. |
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. |
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. |
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. |