Package tech.units.tck.tests.format
Class QuantityFormatTest
- java.lang.Object
-
- tech.units.tck.tests.format.QuantityFormatTest
-
@SpecVersion(spec="JSR 385", version="2.1.0") public class QuantityFormatTest extends Object
Tests for QuantityFormat- Since:
- 2.0
- Version:
- 2.1, November 15, 2020
- Author:
- Werner Keil
-
-
Constructor Summary
Constructors Constructor Description QuantityFormatTest()
-
Method Summary
Modifier and Type Method Description void
testEnsureGotQuantityFormat()
Ensure at least one QuantityFormat implementation is available/registered.void
testQuantityFormatFormat()
Ensure the format() operation is implemented.void
testQuantityFormatFormatAppendable()
Ensure the appendable format() operation is implemented.void
testQuantityFormatFormatIsLocalSensitive()
Ensure the isLocaleSensitive() method is implemented.void
testQuantityFormatParse()
Ensure the parse() operation is implemented.
-
-
-
Constructor Detail
-
QuantityFormatTest
public QuantityFormatTest()
-
-
Method Detail
-
testEnsureGotQuantityFormat
@SpecAssertion(section="4.6", id="46-A1") public void testEnsureGotQuantityFormat()
Ensure at least one QuantityFormat implementation is available/registered.
-
testQuantityFormatFormat
@SpecAssertion(section="4.6", id="46-A2") public void testQuantityFormatFormat()
Ensure the format() operation is implemented.
-
testQuantityFormatFormatAppendable
@SpecAssertion(section="4.6", id="46-A3") public void testQuantityFormatFormatAppendable()
Ensure the appendable format() operation is implemented.
-
testQuantityFormatFormatIsLocalSensitive
@SpecAssertion(section="4.6", id="46-A4") public void testQuantityFormatFormatIsLocalSensitive()
Ensure the isLocaleSensitive() method is implemented.
-
testQuantityFormatParse
@SpecAssertion(section="4.6", id="46-A5") public void testQuantityFormatParse()
Ensure the parse() operation is implemented.
-
-