Class QuantityFormatTest

java.lang.Object
tech.units.tck.tests.format.QuantityFormatTest

@SpecVersion(spec="JSR 385", version="2.2") public class QuantityFormatTest extends Object
Tests for QuantityFormat
Since:
2.0
Version:
2.3, October 4, 2023
Author:
Werner Keil
  • Constructor Details

  • Method Details

    • 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.