Package tech.units.tck.tests.format
Class UnitFormatTest
- java.lang.Object
-
- tech.units.tck.tests.format.UnitFormatTest
-
@SpecVersion(spec="JSR 385", version="2.1.0") public class UnitFormatTest extends ObjectTests 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 Detail
-
UnitFormatTest
public UnitFormatTest()
-
-
Method Detail
-
testEnsureGotUnitFormat
@SpecAssertion(section="4.5", id="45-A1") public void testEnsureGotUnitFormat()Ensure at least one UnitFormat implementation is available/registered.
-
testUnitFormatFormat
@SpecAssertion(section="4.5", id="45-A2") public void testUnitFormatFormat()Ensure the format() operation is implemented.
-
testUnitFormatFormatAppendable
@SpecAssertion(section="4.5", id="45-A3") public void testUnitFormatFormatAppendable()Ensure the appendable format() operation is implemented.
-
testUnitFormatFormatIsLocalSensitive
@SpecAssertion(section="4.5", id="45-A4") public void testUnitFormatFormatIsLocalSensitive()Ensure the isLocaleSensitive() method is implemented.
-
testUnitFormatLabel
@SpecAssertion(section="4.5", id="45-A5") public void testUnitFormatLabel()Ensure the label() operation is implemented.
-
testUnitFormatParse
@SpecAssertion(section="4.5", id="45-A6") public void testUnitFormatParse()Ensure the parse() operation is implemented.
-
-