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 void
testEnsureGotUnitFormat()
Ensure at least one UnitFormat implementation is available/registered.void
testUnitFormatFormat()
Ensure the format() operation is implemented.void
testUnitFormatFormatAppendable()
Ensure the appendable format() operation is implemented.void
testUnitFormatFormatIsLocalSensitive()
Ensure the isLocaleSensitive() method is implemented.void
testUnitFormatLabel()
Ensure the label() operation is implemented.void
testUnitFormatParse()
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.
-