Package tech.units.tck.tests.format
Class UnitFormatTest
java.lang.Object
tech.units.tck.tests.format.UnitFormatTest
@SpecVersion(spec="JSR 385",
version="2.1.1")
public class UnitFormatTest
extends Object
Tests for UnitFormat
- Since:
- 1.0
- Version:
- 2.1, December 2, 2020
- Author:
- Werner Keil
-
Constructor Summary
Constructors Constructor Description UnitFormatTest() -
Method Summary
Modifier and Type Method Description voidtestEnsureGotUnitFormat()Ensure at least one UnitFormat implementation is available/registered.voidtestUnitFormatFormat()Ensure the format() operation is implemented.voidtestUnitFormatFormatAppendable()Ensure the appendable format() operation is implemented.voidtestUnitFormatFormatIsLocalSensitive()Ensure the isLocaleSensitive() method is implemented.voidtestUnitFormatLabel()Ensure the label() operation is implemented.voidtestUnitFormatParse()Ensure the parse() operation is implemented.
-
Constructor Details
-
UnitFormatTest
public UnitFormatTest()
-
-
Method Details
-
testEnsureGotUnitFormat
Ensure at least one UnitFormat implementation is available/registered. -
testUnitFormatFormat
Ensure the format() operation is implemented. -
testUnitFormatFormatAppendable
Ensure the appendable format() operation is implemented. -
testUnitFormatFormatIsLocalSensitive
Ensure the isLocaleSensitive() method is implemented. -
testUnitFormatLabel
Ensure the label() operation is implemented. -
testUnitFormatParse
Ensure the parse() operation is implemented.
-