Class UnitFormatTest

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

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

  • Method Details

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